import React from 'react'
import { Outlet, NavLink } from 'react-router-dom'
import './style.css'
const Index = () => {
  return (
    <div>
      <div className="top">
        猫眼电影
      </div>
      <div className="header">
        <NavLink to="/movie/hot">正在热映</NavLink>
        <NavLink to="/movie/will">即将上映</NavLink>
      </div>
      <Outlet></Outlet>
    </div>  
  )
}

export default Index